#pragma once
class WhiteBoardData
{
public:
	WhiteBoardData(const bool& show);
	~WhiteBoardData();
	void copyData(const char* data, size_t len);
	void setChannel(const int& channel);
	const int& getChannel() const;
	const size_t& getLen() const;
	void* getBuffer() const;
	const bool& show() const;
private:
	void freeData();
private:
	void* buffer;
	size_t len;
	int channel;
	bool showOrClear;
};

